//
//  FirstDoubleCell.m
//  你的温实初
//
//  Created by lanou on 16/7/13.
//  Copyright © 2016年 蓝鸥科技有限公司西安分公司. All rights reserved.
//

#import "FirstDoubleCell.h"

@interface FirstDoubleCell ()

@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *content;
@property (weak, nonatomic) IBOutlet UILabel *subtitle;
@property (weak, nonatomic) IBOutlet UILabel *subcontent;


@end

@implementation FirstDoubleCell

- (void)setValueWithArray:(NSArray *)array {
    FirstModel *model = array.firstObject;
    FirstModel *submodel = array.lastObject;
    self.title.text = model.title;
    self.content.text = model.content;
    self.subtitle.text = submodel.title;
    self.subcontent.text = submodel.content;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}



@end
